Retropikzel's blog - 2026-02-26 - Notes ro R7RS implementors: nonexisting loadpaths

Notes to R7RS implementors: nonexisting loadpaths

I thought I would start writing down some notes about Scheme implementations in the wild. I frequently use around 20 implementations so it is easy to forget things. And I might be a Scheme implementator myself some day.

R7RS does not say much about loadpaths. Most implementations if not all, have a way to add directory into their load/library paths. Many new ones use -I and -A from SRFI 138: Compiling Scheme programs to executables.

The most common case is to ignore them. This is good for portability and most propably relied upon by users and scripts.

If you do not want to ignore them, then issuing a warning is better than erroring.